import { createApp } from 'vue';
import App from './App.vue';
import pinia from './store';
import router from './router';

const app = createApp(App);

// 引入Antd
import { initAntd } from './plugins/antd';
import 'ant-design-vue/dist/reset.css';
initAntd(app);

import './assets/css/reset.css';
import './assets/css/common.less';

import Page from '@/components/Page/index.vue';
app.component(Page.name, Page);

app.use(pinia).use(router).mount('#app');
